package com.wafersystems.cloud.bo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

@Configuration
@ConfigurationProperties(prefix = "myprops") // 接收application.yml中的myProps下面的属性
@Data
public class MyProps {
  private Di diDevice;
  private Do doDevice;
  private MqttProps myMqtt;
}
